package cn.yuanqiao.cqbc.fileBackupLog.domain;

import cn.yuanqiao.common.annotation.IdAnnotation;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;

/**
 * 文件备份日志对象 YQ_FILEBACKUP_LOG
 * 
 * @author xy
 * @date 2024-06-18
 */
public class FileBackupLog
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @IdAnnotation
    private Long id;

    /** $column.columnComment */
    private Long filebackupId;

    /** $column.columnComment */
    private String beginTime;

    /** $column.columnComment */
    private String endTime;

    /** $column.columnComment */
    private String tenantCode;

    private String createTime;
    private String assignmentNumber;

    private String assignmentName;

    private String originalAddress;

    private String backupAddress;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFilebackupId(Long filebackupId) 
    {
        this.filebackupId = filebackupId;
    }

    public Long getFilebackupId() 
    {
        return filebackupId;
    }
    public void setBeginTime(String beginTime) 
    {
        this.beginTime = beginTime;
    }

    public String getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }
    public void setTenantCode(String tenantCode) 
    {
        this.tenantCode = tenantCode;
    }

    public String getTenantCode() 
    {
        return tenantCode;
    }

    public String getAssignmentNumber() {
        return assignmentNumber;
    }

    public void setAssignmentNumber(String assignmentNumber) {
        this.assignmentNumber = assignmentNumber;
    }

    public String getAssignmentName() {
        return assignmentName;
    }

    public void setAssignmentName(String assignmentName) {
        this.assignmentName = assignmentName;
    }

    public String getOriginalAddress() {
        return originalAddress;
    }

    public void setOriginalAddress(String originalAddress) {
        this.originalAddress = originalAddress;
    }

    public String getBackupAddress() {
        return backupAddress;
    }

    public void setBackupAddress(String backupAddress) {
        this.backupAddress = backupAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("filebackupId", getFilebackupId())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("createTime", getCreateTime())
            .append("tenantCode", getTenantCode())
            .toString();
    }
}
